<template>
  <tab-bar>
     <!-- activeColor="blue" -->
    <tab-bar-item path="/home">
      <img slot="item-img" src="~assets/img/tabbar/nav_index.png" alt="">
      <img slot="item-img-active" src="~assets/img/tabbar/nav_index_active.png" alt="">
      <p slot="item-text">首页</p>
    </tab-bar-item>
    <tab-bar-item path="/category">
      <img slot="item-img" src="~assets/img/tabbar/nav_cate.png" alt="">
      <img slot="item-img-active" src="~assets/img/tabbar/nav_cate_active.png" alt="">
      <p slot="item-text">分类</p>
    </tab-bar-item>
    <tab-bar-item path="/store">
      <img slot="item-img" src="~assets/img/tabbar/nav_store.png" alt="">
      <img slot="item-img-active" src="~assets/img/tabbar/nav_store_active.png" alt="">
      <p slot="item-text">商城</p>
    </tab-bar-item>
    <tab-bar-item path="/profile">
      <img slot="item-img" src="~assets/img/tabbar/nav_mine.png" alt="">
      <img slot="item-img-active" src="~assets/img/tabbar/nav_mine_active.png" alt="">
      <p slot="item-text">我的</p>
    </tab-bar-item>
  </tab-bar>
</template>

<script>
  import TabBar from 'components/common/tabbar/TabBar'
  import TabBarItem from 'components/common/tabbar/TabBarItem'
  export default {
    name: 'App',
    components: {
      TabBar,
      TabBarItem
    }
  }
</script>

<style>
</style>
